import {Request} from "@/components/until/Request";
//获取所有项目信息
function getProject(url,data){
    return Request.post(url,data);

}

//添加项目信息
function addProject(url,data){
    return Request.post(url,data);
}

//获取负责人列表就是老师
function getTeacher(url,data){
    return Request.get(url,data); 
}

//获取子项目
function getSubProject(url,data){
    return Request.post(url,data);
}
//修改项目
function updateProject(url,data){
    return Request.post(url,data);
}
//删除项目
function deleteProject(url,data){
    return Request.post(url,data);
}

export {getProject,addProject,getTeacher,getSubProject,updateProject,deleteProject}